
import axios from 'axios'
import { APPKEY } from '@/appkey/index.js'
export function aPost(options) {
  axios.get(options.url, {
    params: {
      ...options.data,
      key: APPKEY
    }
  }).then((data) => {
    options.success(data)
  }).catch((err) => {
    options.error(err)
  })
}
